package com.spring.mybatis.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.spring.mybatis.demo.Model.Student;
import com.spring.mybatis.demo.dao.StudentDao;

/**
 * com.spring.mybatis.demo.service
 *
 * @author humdeef
 * @since 2019-07-14
 */
@Service
public class StudentService {

  @Autowired
  StudentDao studentDao;

  public List<Student> queryAll() {
    return studentDao.queryAll();
  }
}
